#ifndef ACCELEROMETERITEM_H
#define ACCELEROMETERITEM_H

#include <QQuickItem>
#include <accelerometer.h>

class AccelerometerItem : public QQuickItem
{
    Q_OBJECT
    Q_DISABLE_COPY(AccelerometerItem)

public:
    AccelerometerItem(QQuickItem *parent = 0);
    ~AccelerometerItem();

private:
    Accelerometer *accel;

private slots:
    void getData(short,short,short);

signals:
     void gDataComing(short x,short y,short z);
};

#endif // ACCELEROMETERITEM_H
